/*
功能页面加载
*/
var subpageAnchors = document.querySelectorAll(".anchorPage")
for (var i = 0; i < subpageAnchors.length; i++) {
    subpageAnchors[i].onclick = function() {
        gotoPage(this.id)
    }
}

function gotoPage(page) {
    var frm = document.getElementById("frm")
    frm.src = page + ".html"
}
